package cn.kgc.springboot;

/**
 * @author 课工场
 * @date 2023/11/17
 * @description
 */
public class Calculator {


    public Calculator(){
        System.out.println("--------------Calculator()---------------");
    }

     public Integer add(Integer a,Integer b){

         System.out.println("-----------Calculator--------------");
         return a+b;
    }


    public static Integer add2(Integer a,Integer b){
        System.out.println("-----------Calculator--------------");
        return a+b;
    }


}
